<template>
  <div>
      传参
      <div>
           <h3 @click="back()">&lt;</h3>
           <h3>商品详情页</h3>
           <h2>{{this.$route.params.news}}</h2>
       </div>
  </div>
</template>

<script>
export default {
   methods:{
       back(){
            this.$router.go(-1)
        }
   }
}
</script>

<style>

</style>